package io.framework.modules.water.service;

import io.framework.common.page.PageData;
import io.framework.common.service.CrudService;
import io.framework.modules.water.dto.WaterBinhaiDTO;
import io.framework.modules.water.entity.WaterBinhaiEntity;

import java.util.Map;

/**
 * 滨海旅游区海水
 *
 * @author Gujq email
 * @since 1.0.0 2020-10-15
 */
public interface WaterBinhaiService extends CrudService<WaterBinhaiEntity, WaterBinhaiDTO> {

    /**
     * 根据时间删除历史数据
     */
    void deleteInfoByDate(String year);

    PageData<WaterBinhaiDTO> pageList(Map<String, Object> params);

    Boolean checkData(String month);

    WaterBinhaiDTO getWaterInfoById(Map<String, Object> params);

}
